projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1b11e
)
(dired-overwrite-confirmed): Undo last change.
author
Chong Yidong
<cyd@stupidchicken.com>
Sun, 6 Apr 2008 21:05:17 +0000
(21:05 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sun, 6 Apr 2008 21:05:17 +0000
(21:05 +0000)
lisp/dired-aux.el
patch
|
blob
|
history
diff --git
a/lisp/dired-aux.el
b/lisp/dired-aux.el
index d7d1d6079993263e1fcca25738283d65897ba4ec..407e7296adcfac3d9740e15de39ffbd2f379ab81 100644
(file)
--- a/
lisp/dired-aux.el
+++ b/
lisp/dired-aux.el
@@
-1129,7
+1129,10
@@
Special value `always' suppresses confirmation."
(other :tag "ask" t))
:group 'dired)
-(defvar dired-overwrite-confirmed nil)
+;; This is a fluid var used in dired-handle-overwrite. It should be
+;; let-bound whenever dired-copy-file etc are called. See
+;; dired-create-files for an example.
+(defvar dired-overwrite-confirmed)
(defun dired-handle-overwrite (to)
;; Save old version of file TO that is to be overwritten.